tools: L2 CAT: support get HW info for L2 CAT.
authorYi Sun <yi.y.sun@linux.intel.com>
Tue, 1 Aug 2017 09:05:00 +0000 (11:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 3 Aug 2017 10:38:39 +0000 (12:38 +0200)
commit451a0c39babec7842088dec35c2047b2235feaec
tree5d2bda4af667fbeae8a998d526f6c148f6c98bbf
parenta29ea3bb5b5036f19797fd5dcd9ba240e1adb98f
tools: L2 CAT: support get HW info for L2 CAT.

This patch implements xl/xc changes to support get HW info
for L2 CAT.

'xl psr-hwinfo' is updated to show both L3 CAT and L2 CAT
info.

Example(on machine which only supports L2 CAT):
Cache Monitoring Technology (CMT):
Enabled         : 0
Cache Allocation Technology (CAT): L2
Socket ID       : 0
Maximum COS     : 3
CBM length      : 8
Default CBM     : 0xff

Signed-off-by: He Chen <he.chen@linux.intel.com>
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_psr.c
tools/libxl/libxl.h
tools/libxl/libxl_psr.c
tools/libxl/libxl_types.idl
tools/xl/xl_psr.c
xen/arch/x86/sysctl.c
xen/include/public/sysctl.h